package com.party.orders.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.party.domain.CurrentAccount;
/**
 * 
 * @author Caizhf
 * @date 2017年7月28日下午6:08:47
 * @version v.0.1
 * @email 1115054416@qq.com 
 *
 * <p>Description: </p>
 *
 */
public interface CurrentAccountMapper {

	CurrentAccount findByallOrdersNumOrId(@Param("caid")Integer caid,@Param("allOrderNum")String allOrderNum);

	int countList(@Param("userId")Integer userId,@Param("status")Integer status, 
			@Param("startTime")Date startTime, @Param("endTime")Date endTime);

	List<CurrentAccount> list(@Param("userId")Integer userId,
			@Param("status")Integer status, @Param("pageStart")int pageStart, @Param("pageSize")int pageSize,
			@Param("startTime")Date startTime, @Param("endTime")Date endTime);

	Integer delete(int caid);

}
